package com.wing.cabinet.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wing.cabinet.model.entity.StorageInventoryCheck;
import com.wing.cabinet.model.request.StorageInventoryCheckForm;
import com.wing.cabinet.model.response.StorageInventoryCheckVO;

import java.util.List;
import java.util.Map;

/**
 * 盘验-Service
 *
 * @author
 */
public interface StorageInventoryCheckService extends IService<StorageInventoryCheck> {

    /**
     * 添加
     *
     * @param storageInventoryCheckForm
     * @return
     */
    int add(StorageInventoryCheckForm storageInventoryCheckForm);

    /**
     * 列表-app
     *
     * @param params
     *
     * @return
     */
    List<StorageInventoryCheckVO> list4app(Map<String, Object> params);

    /**
     * 分页list-app
     *
     * @param page
     * @param params
     *
     * @return
     */
    Page<StorageInventoryCheckVO> pageList4app(Page page, Map<String, Object> params);

    /**
     * 详情-app
     *
     * @param id
     *
     * @return
     */
    StorageInventoryCheckVO get4appById(Long id);

    /**
     * 盘验记录导出
     * @param params
     * @return
     */
    List<StorageInventoryCheckVO> exportList(Map<String, Object> params);
}
